﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Benefit.Models.Day;

namespace Benefit.Interface.Day
{
    public interface IAccountDayAnalysis
    {
        /// <summary>
        /// 删除某日的所有数据
        /// </summary>
        /// <param name="tradeHistoryId"></param>
        void Delete(int tradeHistoryId);
        /// <summary>
        /// 保存账号日分析情况
        /// </summary>
        /// <param name="tradeHistoryId"></param>
        void InitAccountDayAnalysis(int tradeHistoryId, string pdate);
        /// <summary>
        /// 得到某账户某日的分析数据
        /// </summary>
        /// <param name="tradeHistoryId"></param>
        /// <param name="accountid"></param>
        /// <returns></returns>
        AccountDayAnalysis GetAccountDayAnalysis(int tradeHistoryId, int accountid);
    }
}
